
namespace Playground
{
    public sealed class PlaygroundPresenter : IPlaygroundPresenter
    {
        private readonly Playground View;
        private readonly ProtagonistModel Model;

        public PlaygroundPresenter(Playground view)
        {
            View = view;
            Model = new ProtagonistModel();
            View.BindModel(Model.Protagonists);
        }

        public void AddProtagonist()
        {
            Model.Protagonists.AddNew();
        }
    }
}